import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

import 'vant/lib/index.css';

import { Tab, Tabs,Swipe, SwipeItem ,DropdownMenu, DropdownItem,Switch,Sidebar, SidebarItem , Popup,Rate, Field, Lazyload ,Toast, List,PullRefresh,Loading,Empty   } from 'vant';
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Switch);
Vue.use(Sidebar);
Vue.use(SidebarItem);
Vue.use(Popup);
Vue.use(Rate);
Vue.use(Field);
Vue.use(Lazyload);
Vue.use(Toast);
Vue.use( List );
Vue.use(PullRefresh );
Vue.use(Loading);
Vue.use(Empty);


// 引入字体图标
import "./assets/font/iconfont.css"


// 安装axios
// $cnpm i axios -S

import 'swiper/dist/css/swiper.min.css'


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
